package com.sicilin.system.login.dto;

import com.sicilin.po.TSysRole;

import java.sql.Timestamp;
import java.util.Set;

public class LoginUser {
    private Integer userId;
    private String account;
    private String name;
    private String telephone;
    private Integer sex;
    private Integer status;
    private Integer companyId;
    private Timestamp createTime;
    private Set<LoginRole> roles;
    private Set<LoginAuth> auths;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Set<LoginRole> getRoles() {
        return roles;
    }

    public void setRoles(Set<LoginRole> roles) {
        this.roles = roles;
    }

    public Set<LoginAuth> getAuths() {
        return auths;
    }

    public void setAuths(Set<LoginAuth> auths) {
        this.auths = auths;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
